/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package list.functions;

/**
 *
 * Fully Tested: No
 * Fully Documented: No
 * Created: 23-Apr-2012
 * Last Updated: 23-Apr-2012
 *
 * @param <T> 
 * @author Shimu Wu
 */
public interface Order<T extends Comparable<T>> {
    
    /**
     * Returns true if e1 and e2 satisfy the order the user wishes
     * to define, false otherwise. A simple example of an order the user
     * wishes to test could be if e1 is less than e2.
     * 
     * @param e1
     * @param e2
     * @return 
     */
    public boolean satisfyOrder(T e1, T e2);
}
